﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WF.Webdata
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        List<string> strL = new List<string>() { "1", "2", "3" };

        private void Form1_Load(object sender, EventArgs e)
        {
            if (strL.TrueForAll(L => { return L != "4"; }))
            {
                MessageBox.Show("OK");
            }
            else
            {
                MessageBox.Show("NO");
            }
            
        }

    }
}
